registerTests([
function Each_Test_0()
{
	var myArray = [1, 2, 3];
	var mySecondArray = [];
	myArray.Each(function(o) { mySecondArray.unshift(o); });
	
	Assert.areEqual(mySecondArray.length, 3, "3 elements should have been processed but " + mySecondArray.length + " items were");
	for(var i = 0; i < 3; i++)
		Assert.areEqual(mySecondArray[i], 3 - i, "Value at " + i + " should have been " + (3 - i) + " but was " + mySecondArray[i]);
},
]);